/**
 * @Date 2023-02-21 14:24:10
 * @Remark
 */

// API -------------------------------------------------------------

export const API_QUESTION_CLASS_PAGE: Api = {
  title: "常见问题分类--分页查询",
  path: "content/question_class_page_list",
  method: "POST",
  remark: "常见问题分类接口",
};

// req
export interface ReqQuestionClassPage extends ReqPage {
  name?: string;
}

// API -------------------------------------------------------------

export const API_QUESTION_CLASS_ADD: Api = {
  title: "常见问题分类--新增",
  path: "content/question_class_add",
  method: "POST",
  remark: "常见问题分类接口",
};

// req
export interface ReqQuestionClassAddPage {
  className?: string;
  id?: string;
}

// API -------------------------------------------------------------

export const API_QUESTION_CLASS_EDIT: Api = {
  title: "常见问题分类--编辑",
  path: "content/question_class_update",
  method: "POST",
  remark: "常见问题分类接口",
};

// API -------------------------------------------------------------

export const API_QUESTION_CLASS_DELETE: Api = {
  title: "常见问题分类--删除",
  path: "content/question_class_delete",
  method: "POST",
  remark: "常见问题分类接口",
};

// API -------------------------------------------------------------

export const API_QUESTION_PAGE: Api = {
  title: "常见问题--分页查询",
  path: "content/question_page_list",
  method: "POST",
  remark: "常见问题接口",
};

// req
export interface ReqQuestionPage extends ReqPage {
  name?: string;
}

// API -------------------------------------------------------------

export const API_QUESTION_ADD: Api = {
  title: "常见问题--新增",
  path: "content/question_add",
  method: "POST",
  remark: "常见问题接口",
};

// req
export interface ReqQuestionAddPage {
  className?: string;
  title?: string;
  content?: string;
  classId?: string;
  id?: string;
}

// API -------------------------------------------------------------

export const API_QUESTION_CLASS_LONG_PAGE: Api = {
  title: "常见问题分类--不分页列表",
  path: "content/question_class_list",
  method: "POST",
  remark: "常见问题分类接口",
};

// API -------------------------------------------------------------

export const API_QUESTION_EDIT: Api = {
  title: "常见问题--编辑",
  path: "content/question_update",
  method: "POST",
  remark: "常见问题接口",
};

// API -------------------------------------------------------------

export const API_QUESTION_DELETE: Api = {
  title: "常见问题--删除",
  path: "content/question_delete",
  method: "POST",
  remark: "常见问题接口",
};

// API -------------------------------------------------------------

export const API_CONTRACT_RULE_PAGE: Api = {
  title: "协议规则--分页查询",
  path: "content/contract_rule_page_list",
  method: "POST",
  remark: "协议规则接口",
};

// req
export interface ReqContractRulePage extends ReqPage {
  title?: string;
}

// API -------------------------------------------------------------

export const API_CONTRACT_RULE_ADD: Api = {
  title: "协议规则--新增",
  path: "content/contract_rule_add",
  method: "POST",
  remark: "协议规则接口",
};

// req
export interface ReqContractRuleAddPage {
  className?: string;
  id?: string;
}

// API -------------------------------------------------------------

export const API_CONTRACT_RULE_EDIT: Api = {
  title: "协议规则--编辑",
  path: "content/contract_rule_update",
  method: "POST",
  remark: "协议规则接口",
};

// API -------------------------------------------------------------

export const API_CONTRACT_RULE_DELETE: Api = {
  title: "协议规则--删除",
  path: "content/contract_rule_delete",
  method: "POST",
  remark: "协议规则接口",
};

// API -------------------------------------------------------------

export const API_FEEDBACK_PAGE: Api = {
  title: "意见反馈--分页查询",
  path: "content/feedback_page_list",
  method: "POST",
  remark: "意见反馈接口",
};

// req
export interface ReqFeedbackPage extends ReqPage {
  feedBackTitle?: string;
}

// API -------------------------------------------------------------

export const API_FEEDBACK_DELETE: Api = {
  title: "意见反馈--删除",
  path: "content/feedback_delete",
  method: "POST",
  remark: "意见反馈接口",
};
// req
export interface ReqFeedbackDel  {
  id?: string;
}

// API -------------------------------------------------------------

export const API_FEEDBACK_DETAIL: Api = {
  title: "意见反馈--详情",
  path: "content/feedback_detail",
  method: "POST",
  remark: "意见反馈接口",
};

